package com.atguigu.tingshu.user.service;

import com.atguigu.tingshu.model.user.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

public interface UserInfoService extends IService<UserInfo> {

  Object wxLogin(String code);

  Object getUserInfo();

  Boolean getUserPaidAlbum(Long userId, Long albumId);

  Map<String, Object> getUserPaidTrack(Long userId, Long albumId);

  Object isSubscribe(Long albumId);

  void collect(Long trackId);

  Object isCollect(Long trackId);

  void updateUserPaidInfo(String orderNo);
}
